<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
	<head>
		<title>学校管理</title>
		<link rel="stylesheet" type="text/css" href="${ctx }/styles/displaytag.css" />
		<script type="text/javascript">
			function editVipService(){
				art.dialog.open(
					ctx + "/initSelectSchool!initSelectSchool.html", {
						title: "添加学校",
						width:"500px", 
						height:"350px",
						lock: true
					}
				);
			}

			function showMaterail(sid ){
				art.dialog.open(
					ctx + "/materialInfo!getMaterailBySid.html?id="+sid, {
						title: "申请要求列表",
						width:"500px", 
						height:"350px",
						lock: true
					}
				);
			}
		</script>
	</head>
	<body>
		<div class="container_16">
			<div class="grid_16">
				<div class="content_top">
					<span>选校列表</span>
				</div>
				<div class="content_bottom">
					<div style="padding: 30px;">
						<a href="javascript:void(0)" title="添加学校" onclick="editVipService()">添加学校</a>
						<display:table id="sc" name="pageBean" pagesize="10" class="display_table" requestURI="" decorator="org.displaytag.decorator.TotalTableDecorator">
							<display:column title="序号" value="${(pageBean.pageNumber - 1) * pageBean.objectsPerPage + vipServiceList_rowNum }" style="width: 10%"/>
						 	<display:column title="学校名称"  property="name" style="width: 15%"/> 	
						 	<display:column title="申请学位" property="schoolInfo.hotMajor" style="width: 15%"/>
						 	<display:column title="申请专业" property="schoolInfo.hotMajor" style="width: 15%"/>
						    <display:column title="截至日期" property="schoolInfo.applyEndTime" style="width: 15%"/>  
						    <display:column title="申请要求"  style="width: 15%">
						   	 	<a href="#" onclick="showMaterail(${sc.id});">查看详情</a>
						    </display:column>  	
						 	<display:column title="操作" style="width: 15%">
						 		<a href="#" onclick="">编辑</a>&nbsp;|&nbsp;<a href="#" >删除</a>
						 	</display:column>
						 </display:table>
					</div>
				</div>
			</div>		
		</div>
	</body>
</html>		